package com.learn.jackson.annotation.jsonFilter;

import com.fasterxml.jackson.annotation.JsonFilter;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldDefaults;

/**
 * @author XuYang
 * @since 2025/6/10 14:06
 */
@Data
@NoArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@AllArgsConstructor(staticName = "of")
@JsonFilter("custom")
public class JsonFilterEntity {
    Long id;
    String name;
}
